package com.wl.application.common.childException;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Configuration;

/**
 * @author wl
 * @version 1.0
 * @date 2022/6/16
 * @description:
 */
@Configuration
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BusinessException extends RuntimeException {


    /**
     * 自定义异常状态
     */
    Integer code;
    /**
     * 自定义异常信息
     */
    String msg;
}
